const mockQuery = {
  code: 'ok',
  message: '',
  data: {
    list: [
      {
        key: '1',
        createTime: "2019-07-17 11:33:45",
        creator: 'Ron',
        creatorName: "Ron",
        id: 117,
        name: "mw2069",
        type: "应付",
      },
      {
        key: '2',
        createTime: "2019-07-17 11:33:45",
        creator: 'Ron',
        creatorName: "Ron",
        id: 117,
        name: "UAT验收应收",
        type: "应收",
      },
    ],
    pagination: {
      currency: 1,
      total: 20,
      pageSize: 20,
    },
  },
};

const mockCreate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockUpdate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockRemove = {
  code: 'ok',
  message: '',
  data: {},
};

export default {
  'GET /api/costTemplate/query': mockQuery,
  'POST /api/costTemplate/create': mockCreate,
  'POST /api/costTemplate/update': mockUpdate,
  'POST /api/costTemplate/remove': mockRemove,
};
